import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入插件
import { Search, Tabbar, TabbarItem, Tab, Tabs, Swipe, SwipeItem, Lazyload } from 'vant'
Vue.use(Search) // 搜索框
// 底部导航
Vue.use(Tabbar)
Vue.use(TabbarItem)
// 头部导航
Vue.use(Tab)
Vue.use(Tabs)
// 轮播图
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Lazyload) // 懒加载
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
